inherited frmBaseReport: TfrmBaseReport
  Left = 380
  Top = 79
  Caption = 'frmBaseReport'
  ClientHeight = 462
  ClientWidth = 992
  ExplicitLeft = -174
  ExplicitWidth = 1008
  ExplicitHeight = 521
  PixelsPerInch = 96
  TextHeight = 12
  inherited Splitter1: TSplitter
    Top = 384
    Width = 992
    ExplicitTop = 396
    ExplicitWidth = 992
  end
  inherited stbChildSatusBar: TStatusBar
    Top = 365
    Width = 992
    ExplicitTop = 365
    ExplicitWidth = 992
  end
  inherited Panel3: TPanel
    Width = 992
    Height = 326
    ExplicitWidth = 992
    ExplicitHeight = 326
    inherited MainDBGrid: TcxGrid
      Left = 193
      Width = 799
      Height = 326
      ExplicitLeft = 193
      ExplicitWidth = 799
      ExplicitHeight = 326
      inherited MainView: TcxGridDBBandedTableView
        OnDblClick = MainViewDblClick
        OnKeyDown = MainViewKeyDown
        OnKeyUp = MainViewKeyUp
        FindPanel.InfoText = #36755#20837#20851#38190#23383#25628#32034
        OnCustomDrawCell = MainViewCustomDrawCell
        DataController.DataModeController.GridMode = True
        DataController.DataModeController.GridModeBufferCount = 1000
        DataController.DataModeController.SmartRefresh = True
        DataController.DataSource = MainDataSource
        DataController.Filter.AutoDataSetFilter = True
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.OnGroupingChanged = MainViewDataControllerGroupingChanged
        DataController.OnSortingChanged = MainViewDataControllerSortingChanged
        FilterRow.InfoText = #23450#20041#36807#28388#26465#20214
        NewItemRow.InfoText = #28857#20987#26032#22686#35760#24405
        OptionsBehavior.FocusCellOnTab = True
        OptionsBehavior.GoToNextCellOnEnter = True
        OptionsBehavior.FocusCellOnCycle = True
        OptionsBehavior.ShowLockedStateImageOptions.BestFit = lsimNever
        OptionsBehavior.PullFocusing = True
        OptionsData.CancelOnExit = False
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Inserting = False
        OptionsSelection.MultiSelect = True
        OptionsSelection.CellMultiSelect = True
        OptionsSelection.InvertSelect = False
        OptionsView.NoDataToDisplayInfoText = '<'#27809#26377#25968#25454#26174#31034'>'
        OptionsView.Footer = True
        OptionsView.FooterMultiSummaries = True
        OptionsView.GroupFooterMultiSummaries = True
        OptionsView.GroupFooters = gfAlwaysVisible
        OptionsView.Indicator = True
        OptionsView.IndicatorWidth = 35
        OptionsView.BandHeaders = False
        OptionsView.FixedBandSeparatorWidth = 1
        OnColumnSizeChanged = MainViewColumnSizeChanged
        OnCustomDrawIndicatorCell = MainViewCustomDrawIndicatorCell
      end
    end
    object pnlFilter: TPanel
      Left = 0
      Top = 0
      Width = 185
      Height = 326
      Align = alLeft
      BevelOuter = bvNone
      TabOrder = 1
      Visible = False
      object treType: TcxTreeView
        Left = 0
        Top = 25
        Width = 185
        Height = 281
        Align = alClient
        TabOrder = 0
        OnDblClick = treTypeDblClick
        RightClickSelect = True
        RowSelect = True
        ExplicitHeight = 280
      end
      object CoolBar1: TCoolBar
        Left = 0
        Top = 0
        Width = 185
        Height = 25
        Bands = <
          item
            Control = CbbOption
            ImageIndex = -1
            MinHeight = 21
            Width = 179
          end>
        object CbbOption: TcxComboBox
          Left = 11
          Top = 0
          Properties.ImmediatePost = True
          Properties.OnValidate = CbbOptionPropertiesValidate
          TabOrder = 0
          Width = 170
        end
      end
      object edtFilter: TcxTextEdit
        Left = 0
        Top = 306
        Align = alBottom
        TabOrder = 2
        TextHint = #36755#20837#31867#21035#32534#30721#12289#21517#31216#36807#28388
        OnKeyPress = edtFilterKeyPress
        ExplicitTop = 305
        Width = 185
      end
    end
    object sptFilter: TcxSplitter
      Left = 185
      Top = 0
      Width = 8
      Height = 326
      Cursor = crHSplit
      HotZoneClassName = 'TcxSimpleStyle'
      Control = pnlFilter
      OnMoved = sptFilterMoved
      Visible = False
    end
  end
  inherited Panel2: TPanel
    Top = 388
    Width = 992
    Visible = True
    ExplicitTop = 388
    ExplicitWidth = 992
    DesignSize = (
      992
      37)
    object btnPrint: TcxButton
      Left = 740
      Top = 7
      Width = 75
      Height = 24
      Anchors = [akTop, akRight]
      Caption = #25171#21360
      Colors.Default = 16773345
      DropDownMenu = pmPrint
      Kind = cxbkDropDownButton
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00BEBEBEFFB4B4B4FFB1B1B1FFB0B0B0FFB0B0B0FFB0B0B0FFB1B1
        B1FFB4B4B4FFBEBEBEFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF009B9B9BFF818181FF6E6E6EFF666666FF666666FF666666FF666666FF6666
        66FF6E6E6EFF818181FF9B9B9BFFABABABFFFFFFFF00959595FF747474FF6464
        64FF565656FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00424242FF565656FF646464FF747474FF4C4C4CFF4C4C4CFF4C4C
        4CFF4C4C4CFFFFFFFF00FEDEAAFFDEE3BDFFA6ECDFFF7EF2F7FF8DE6F4FFBACE
        E4FFFFFFFF004C4C4CFF4C4C4CFF4C4C4CFF4C4C4CFF4C4C4CFF818181FF8181
        81FF4C4C4CFFFFFFFF00DEE3BDFFA6ECDFFF7EF2F7FF8DE6F4FFBACEE4FFE6B6
        D4FFFFFFFF004C4C4CFF818181FF818181FF4C4C4CFF4C4C4CFFADADADFFADAD
        ADFF4C4C4CFFFFFFFF00A6ECDFFF7EF2F7FF8DE6F4FFBACEE4FFE6B6D4FFFDAA
        CCFFFFFFFF004C4C4CFFADADADFFADADADFF4C4C4CFF4C4C4CFFD9D9D9FFD9D9
        D9FF737373FF737373FF737373FF737373FF737373FF737373FF737373FF7373
        73FF737373FF737373FFD9D9D9FFD9D9D9FF4C4C4CFF4C4C4CFFF9F9F9FFF9F9
        F9FFF9F9F9FFF9F9F9FFF9F9F9FFF9F9F9FFF9F9F9FFF9F9F9FFF9F9F9FFF9F9
        F9FFF9F9F9FFF9F9F9FFF9F9F9FFF9F9F9FF4C4C4CFF4C4C4CFFEAEAEAFFEAEA
        EAFF3F3F3FFFEAEAEAFFEAEAEAFFEAEAEAFFEAEAEAFFEAEAEAFFEAEAEAFFEAEA
        EAFFEAEAEAFF5C39FFFFEAEAEAFFEAEAEAFF4C4C4CFF4C4C4CFFD4D4D4FFD4D4
        D4FFD4D4D4FFD4D4D4FFD4D4D4FFD4D4D4FFD4D4D4FFD4D4D4FFD4D4D4FFD4D4
        D4FFD4D4D4FFD4D4D4FFD4D4D4FFD4D4D4FF4C4C4CFF4C4C4CFFBBBBBBFFBBBB
        BBFF4C4C4CFF4C4C4CFF4C4C4CFF4C4C4CFF4C4C4CFF4C4C4CFF4C4C4CFF4C4C
        4CFF4C4C4CFF4C4C4CFFBBBBBBFFBBBBBBFF4C4C4CFF999999FF4C4C4CFF4C4C
        4CFF4C4C4CFFA54D33FFFFDFD6FFFFDFD6FFFFDFD6FFFFDFD6FFFFDFD6FFFFDF
        D6FFA54D33FF4C4C4CFF4C4C4CFF4C4C4CFF999999FFFFFFFF00FFFFFF00FFFF
        FF00FFFFFF00A54D33FFFFF8F7FFFFF8F7FFFFF8F7FFFFF8F7FFFFF8F7FFFFF8
        F7FFA54D33FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00A54D33FFFFF3F0FFFFF3F0FFFFF3F0FFFFF3F0FFFFF3F0FFFFF3
        F0FFA54D33FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00A54D33FFFFD6CBFFFFD6CBFFFFD6CBFFFFD6CBFFFFD6CBFFFFD6
        CBFFA54D33FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00A54D33FFA54D33FFA54D33FFA54D33FFA54D33FFA54D33FFA54D
        33FFA54D33FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      TabOrder = 2
      OnClick = mnuPrintClick
    end
    object edtPrint: TcxLookupComboBox
      Left = 820
      Top = 9
      Anchors = [akTop, akRight]
      Properties.GridMode = True
      Properties.KeyFieldNames = 'styleid'
      Properties.ListColumns = <
        item
          FieldName = 'stylename'
        end>
      Properties.ListOptions.ShowHeader = False
      Properties.ListOptions.SyncMode = True
      Properties.ListSource = dsReportDtl
      EditValue = 0
      TabOrder = 4
      Width = 161
    end
    object btnExcel: TcxButton
      Left = 7
      Top = 7
      Width = 84
      Height = 25
      Action = actExport
      TabOrder = 0
    end
    object btnDynLay: TcxButton
      Left = 100
      Top = 7
      Width = 90
      Height = 25
      Action = actDynLay
      TabOrder = 1
    end
    object btnPenetrate: TcxButton
      Left = 201
      Top = 7
      Width = 76
      Height = 25
      Action = actPenetrate
      Caption = #31359' '#36879
      TabOrder = 3
    end
    object chkDetail: TcxCheckBox
      Left = 590
      Top = 9
      Anchors = [akTop, akRight]
      Caption = #38544#34255#26126#32454
      TabOrder = 5
      Transparent = True
      OnClick = chkDetailClick
    end
    object chkGridFilter: TcxCheckBox
      Left = 510
      Top = 9
      Anchors = [akTop, akRight]
      Caption = #21015#34920#36807#28388
      TabOrder = 6
      Transparent = True
      OnClick = chkGridFilterClick
    end
    object chkMergMst: TcxCheckBox
      Left = 660
      Top = 9
      Anchors = [akTop, akRight]
      Caption = #21512#24182#21333#25454#20307
      TabOrder = 7
      Transparent = True
      OnClick = chkMergMstClick
    end
  end
  inherited Panel1: TPanel
    Width = 992
    Visible = True
    ExplicitWidth = 992
    DesignSize = (
      992
      39)
    inherited img3: TImage
      Left = 1355
      Visible = False
      ExplicitLeft = 911
    end
    object lbLevel: TcxLabel [1]
      Left = 607
      Top = 13
      AutoSize = False
      Caption = #31561#32423#65306
      Properties.Alignment.Horz = taRightJustify
      Transparent = True
      Height = 16
      Width = 80
      AnchorX = 687
    end
    inherited labFuncName: TcxLabel
      Left = 18
      ExplicitLeft = 18
    end
    inherited labFuncDesc: TcxLabel
      Left = 167
      ExplicitLeft = 167
    end
    object btnRefresh: TcxButton
      Left = 810
      Top = 8
      Width = 75
      Height = 25
      Action = actRefresh
      Anchors = [akTop, akRight]
      TabOrder = 1
    end
    object btnFilter: TcxButton
      Left = 900
      Top = 8
      Width = 75
      Height = 25
      Action = actFilter
      Anchors = [akTop, akRight]
      TabOrder = 2
    end
    object cxLabel1: TcxLabel
      Left = 89
      Top = 13
      Caption = #36215#22987#26085#26399
      Transparent = True
    end
    object btnDate: TcxButton
      Left = 10
      Top = 8
      Width = 75
      Height = 25
      Caption = #33258#23450#20041'...'
      Colors.Default = 16773345
      DropDownMenu = pmDate
      Kind = cxbkDropDownButton
      TabOrder = 0
    end
    object edtSDate: TcxDateEdit
      Left = 142
      Top = 11
      Properties.ImmediatePost = True
      Properties.OnValidate = edtSDatePropertiesValidate
      TabOrder = 4
      Width = 85
    end
    object cxLabel2: TcxLabel
      Left = 227
      Top = 13
      Caption = #32456#27490#26085#26399
      Transparent = True
    end
    object edtEDate: TcxDateEdit
      Left = 279
      Top = 11
      Properties.ImmediatePost = True
      Properties.OnValidate = edtEDatePropertiesValidate
      TabOrder = 5
      Width = 85
    end
    object lblGroupBy: TcxLabel
      Left = 372
      Top = 13
      Caption = #20998#31867
      Transparent = True
      Visible = False
    end
    object edtGroupBy: TcxComboBox
      Left = 402
      Top = 11
      Properties.ImmediatePost = True
      Properties.OnValidate = edtGroupByPropertiesValidate
      TabOrder = 6
      Visible = False
      Width = 121
    end
    object chkNotDepot: TcxCheckBox
      Left = 539
      Top = 10
      Caption = #38750#23384#36135#31867#36135#21697
      TabOrder = 3
      Transparent = True
      Visible = False
    end
    object edtLevel: TcxComboBox
      Left = 686
      Top = 11
      Properties.OnChange = edtLevelPropertiesChange
      TabOrder = 7
      Width = 121
    end
  end
  object pnlFilterID: TPanel [7]
    Left = 0
    Top = 425
    Width = 992
    Height = 37
    Align = alBottom
    BevelOuter = bvNone
    ParentBackground = False
    TabOrder = 4
    Visible = False
    object lblID: TcxLabel
      Left = -20
      Top = 11
      AutoSize = False
      Caption = #39033#30446#65306
      Properties.Alignment.Horz = taRightJustify
      Transparent = True
      Height = 16
      Width = 71
      AnchorX = 51
    end
    object edtID: TcxDBLookupComboBox
      Left = 47
      Top = 9
      DataBinding.DataField = 'id'
      DataBinding.DataSource = dsid
      Properties.ListColumns = <>
      TabOrder = 1
      Width = 180
    end
    object btnPrior: TcxButton
      Left = 229
      Top = 7
      Width = 75
      Height = 25
      Action = actPriorID
      TabOrder = 2
    end
    object btnNext: TcxButton
      Left = 315
      Top = 7
      Width = 75
      Height = 25
      Action = actNextID
      TabOrder = 3
    end
    object lblID2: TcxLabel
      Left = 502
      Top = 11
      AutoSize = False
      Caption = #39033#30446#65306
      Properties.Alignment.Horz = taRightJustify
      Transparent = True
      Visible = False
      Height = 16
      Width = 71
      AnchorX = 573
    end
    object edtID2: TcxDBLookupComboBox
      Left = 569
      Top = 9
      DataBinding.DataField = 'id2'
      DataBinding.DataSource = dsid
      Properties.ListColumns = <>
      TabOrder = 5
      Visible = False
      Width = 180
    end
    object btnID2Prior: TcxButton
      Left = 751
      Top = 7
      Width = 75
      Height = 25
      Caption = '<<'#19978#19968#39033#30446
      TabOrder = 6
      Visible = False
      OnClick = btnID2PriorClick
    end
    object btnID2Next: TcxButton
      Left = 837
      Top = 7
      Width = 75
      Height = 25
      Caption = #19979#19968#39033#30446'>>'
      TabOrder = 7
      Visible = False
      OnClick = btnID2NextClick
    end
  end
  inherited ActionList1: TActionList
    inherited actPenetrate: TAction
      OnExecute = actPenetrateExecute
    end
    inherited actDynLay: TAction
      OnExecute = actDynLayExecute
    end
    inherited actRefresh: TAction
      ImageIndex = 44
      OnExecute = actRefreshExecute
    end
    inherited actFilter: TAction
      OnExecute = actFilterExecute
    end
    object actPriorID: TAction
      Caption = '<<'#19978#19968#39033#30446
      ShortCut = 16433
      OnExecute = btnPriorClick
    end
    object actNextID: TAction
      Caption = #19979#19968#39033#30446'>>'
      ShortCut = 16434
      OnExecute = btnNextClick
    end
  end
  inherited PopupMenu1: TPopupMenu
    inherited PopmnuNewRecord: TMenuItem
      Visible = False
    end
    inherited PopmnuModifyRecord: TMenuItem
      Visible = False
    end
    inherited PopmnuDeleteRecord: TMenuItem
      Visible = False
    end
    inherited numFormProperty: TMenuItem
      Visible = False
    end
  end
  object pmDate: TPopupMenu [13]
    Left = 124
    Top = 136
    object muToday: TMenuItem
      Tag = 10
      Caption = #20170'    '#22825
      OnClick = muTodayClick
    end
    object muWeek: TMenuItem
      Tag = 20
      Caption = #26412'    '#21608
      OnClick = muTodayClick
    end
    object muPriorWeek: TMenuItem
      Tag = 30
      Caption = #19978'    '#21608
      OnClick = muTodayClick
    end
    object muMonth: TMenuItem
      Tag = 110
      Caption = #26412'    '#26376
      OnClick = muTodayClick
    end
    object muPriorMonth: TMenuItem
      Tag = 120
      Caption = #19978'    '#26376
      OnClick = muTodayClick
    end
    object muPeriod: TMenuItem
      Tag = 40
      Caption = #26412'    '#26399
      OnClick = muTodayClick
    end
    object muFirstTen: TMenuItem
      Tag = 50
      Caption = #26412#26399#19978#26092
      OnClick = muTodayClick
    end
    object muMidTen: TMenuItem
      Tag = 60
      Caption = #26412#26399#20013#26092
      OnClick = muTodayClick
    end
    object muLastTen: TMenuItem
      Tag = 70
      Caption = #26412#26399#19979#26092
      OnClick = muTodayClick
    end
    object muPriorPeriod: TMenuItem
      Tag = 80
      Caption = #19978'    '#26399
      OnClick = muTodayClick
    end
    object muYear: TMenuItem
      Tag = 90
      Caption = #26412'    '#24180
      OnClick = muTodayClick
    end
    object muPriorYear: TMenuItem
      Tag = 100
      Caption = #19978'    '#24180
      OnClick = muTodayClick
    end
  end
  object dsReportDtl: TDataSource [14]
    DataSet = qryReportDtl
    Left = 676
    Top = 480
  end
  object pmPrint: TPopupMenu [15]
    Images = ImageList1
    Left = 768
    Top = 363
    object muPrint: TMenuItem
      Caption = #25171#21360
      GroupIndex = 10
      ImageIndex = 10
      ShortCut = 16464
      OnClick = mnuPrintClick
    end
    object muPrintView: TMenuItem
      Caption = #25171#21360#39044#35272
      GroupIndex = 10
      ImageIndex = 11
      ShortCut = 49232
      OnClick = mnuPrintPreviewClick
    end
    object muStyleDesign: TMenuItem
      Caption = #25171#21360#26679#24335#35774#35745
      GroupIndex = 10
      ImageIndex = 30
      OnClick = pmnuStyleDesignClick
    end
    object muPrintPart: TMenuItem
      Caption = '-'
      GroupIndex = 10
    end
    object muPrintGrid: TMenuItem
      Caption = #25171#21360#32593#26684
      GroupIndex = 10
      ImageIndex = 5
      OnClick = muPrintGridClick
    end
    object muExcel: TMenuItem
      Action = actExport
      GroupIndex = 10
    end
  end
  object dlgSaveExportExcel: TSaveDialog [16]
    Filter = 'Excel|.xls'
    Left = 37
    Top = 385
  end
  inherited MainDataSet: TUniQuery
    Options.PrepareUpdateSQL = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Options.ReturnParams = True
    Left = 312
    Top = 191
  end
  inherited mGrdPop: TcxGridPopupMenu
    PopupMenus = <
      item
        GridView = MainView
        HitTypes = [gvhtCell, gvhtRecord]
        Index = 0
        PopupMenu = pmReportView
      end>
    AlwaysFireOnPopup = True
  end
  object qryDynMst: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      
        'select * from ts_DynamicEditFormMst where et_editformid=:formid ' +
        'and et_layoutid=:layoutid')
    Left = 32
    Top = 335
    ParamData = <
      item
        DataType = ftInteger
        Name = 'formid'
        Value = 0
      end
      item
        DataType = ftInteger
        Name = 'layoutid'
        Value = -1
      end>
    object qryDynMstET_EditFormID: TIntegerField
      FieldName = 'ET_EditFormID'
      Required = True
    end
    object qryDynMstET_LayoutID: TIntegerField
      FieldName = 'ET_LayoutID'
      Required = True
    end
    object qryDynMstET_LayoutName: TWideStringField
      FieldName = 'ET_LayoutName'
      Size = 30
    end
    object qryDynMstET_FormCaption: TWideStringField
      FieldName = 'ET_FormCaption'
      Required = True
      Size = 30
    end
    object qryDynMstET_FormType: TIntegerField
      FieldName = 'ET_FormType'
      Required = True
    end
    object qryDynMstET_Menu_Auto_ID: TIntegerField
      FieldName = 'ET_Menu_Auto_ID'
    end
    object qryDynMstET_Table_Name: TStringField
      FieldName = 'ET_Table_Name'
      Size = 200
    end
    object qryDynMstET_DtlTableName: TStringField
      FieldName = 'ET_DtlTableName'
      Size = 50
    end
    object qryDynMstET_Parent_EditForm_ID: TIntegerField
      FieldName = 'ET_Parent_EditForm_ID'
    end
    object qryDynMstET_KeyFields: TStringField
      FieldName = 'ET_KeyFields'
      Size = 200
    end
    object qryDynMstET_CodeField: TStringField
      FieldName = 'ET_CodeField'
      Size = 50
    end
    object qryDynMstET_LookupField: TStringField
      FieldName = 'ET_LookupField'
      Size = 50
    end
    object qryDynMstCREATE_TIME: TDateTimeField
      FieldName = 'CREATE_TIME'
    end
    object qryDynMstCREATE_BY: TIntegerField
      FieldName = 'CREATE_BY'
    end
    object qryDynMstET_ISInitOpenData: TBooleanField
      FieldName = 'ET_ISInitOpenData'
    end
    object qryDynMstET_TableWhere: TStringField
      FieldName = 'ET_TableWhere'
      Size = 2000
    end
  end
  object qryDynDtl: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      
        'select * from ts_DynamicEditFormDtl where dt_index>0 and dt_edit' +
        'formid=:formid and dt_layoutid=:layoutid '
      '  order by dt_fieldtype,dt_order')
    Left = 96
    Top = 343
    ParamData = <
      item
        DataType = ftInteger
        Name = 'formid'
        Value = 0
      end
      item
        DataType = ftInteger
        Name = 'layoutid'
        Value = -1
      end>
    object qryDynDtlDT_EditFormID: TIntegerField
      FieldName = 'DT_EditFormID'
      Required = True
    end
    object qryDynDtlDT_LayoutID: TIntegerField
      FieldName = 'DT_LayoutID'
      Required = True
    end
    object qryDynDtlDT_Index: TIntegerField
      FieldName = 'DT_Index'
      Required = True
    end
    object qryDynDtlDT_Order: TIntegerField
      FieldName = 'DT_Order'
    end
    object qryDynDtlDT_FieldType: TIntegerField
      FieldName = 'DT_FieldType'
      Required = True
    end
    object qryDynDtlDT_FieldName: TStringField
      FieldName = 'DT_FieldName'
      Required = True
      Size = 50
    end
    object qryDynDtlDT_FieldCaption: TWideStringField
      FieldName = 'DT_FieldCaption'
    end
    object qryDynDtlDT_DataType: TStringField
      FieldName = 'DT_DataType'
      Required = True
      Size = 2
    end
    object qryDynDtlDT_ISShow: TBooleanField
      FieldName = 'DT_ISShow'
    end
    object qryDynDtlDT_ISNotNULL: TBooleanField
      FieldName = 'DT_ISNotNULL'
    end
    object qryDynDtlDT_ISFullCol: TBooleanField
      FieldName = 'DT_ISFullCol'
    end
    object qryDynDtlDT_MustShow: TBooleanField
      FieldName = 'DT_MustShow'
    end
    object qryDynDtlDT_MustNotNull: TBooleanField
      FieldName = 'DT_MustNotNull'
    end
    object qryDynDtlDT_LookupID: TStringField
      FieldName = 'DT_LookupID'
      Size = 30
    end
    object qryDynDtlDT_InputType: TSmallintField
      FieldName = 'DT_InputType'
    end
    object qryDynDtlCREATETIME: TDateTimeField
      FieldName = 'CREATETIME'
    end
    object qryDynDtlDT_ISReadOnly: TBooleanField
      FieldName = 'DT_ISReadOnly'
    end
    object qryDynDtlDT_LookupParams: TStringField
      FieldName = 'DT_LookupParams'
      Size = 50
    end
    object qryDynDtlDT_ColWidth: TIntegerField
      FieldName = 'DT_ColWidth'
    end
    object qryDynDtlDT_ISLookupShow: TBooleanField
      FieldName = 'DT_ISLookupShow'
    end
    object qryDynDtlDT_ISFindCondition: TBooleanField
      FieldName = 'DT_ISFindCondition'
    end
    object qryDynDtlDT_Top: TIntegerField
      FieldName = 'DT_Top'
    end
    object qryDynDtlDT_Left: TIntegerField
      FieldName = 'DT_Left'
    end
    object qryDynDtlDT_Shadow: TBooleanField
      FieldName = 'DT_Shadow'
    end
    object qryDynDtlDT_Fixed: TBooleanField
      FieldName = 'DT_Fixed'
    end
    object qryDynDtlDT_FooterType: TSmallintField
      FieldName = 'DT_FooterType'
    end
    object qryDynDtlDT_Print: TBooleanField
      FieldName = 'DT_Print'
    end
    object qryDynDtlDT_FindShow: TBooleanField
      FieldName = 'DT_FindShow'
    end
    object qryDynDtlDT_OnlyFind: TBooleanField
      FieldName = 'DT_OnlyFind'
    end
    object qryDynDtlDT_GroupBy: TBooleanField
      FieldName = 'DT_GroupBy'
    end
    object qryDynDtlDT_CalcExpressShow: TStringField
      FieldName = 'DT_CalcExpressShow'
      Size = 200
    end
    object qryDynDtlDT_CalcExpress: TStringField
      FieldName = 'DT_CalcExpress'
      Size = 200
    end
    object qryDynDtlDT_DefValue: TStringField
      FieldName = 'DT_DefValue'
      Size = 200
    end
    object qryDynDtlDT_FixCtrl: TSmallintField
      FieldName = 'DT_FixCtrl'
    end
    object qryDynDtlDT_FindColumnShow: TBooleanField
      FieldName = 'DT_FindColumnShow'
    end
    object qryDynDtlDT_BillReportShow: TBooleanField
      FieldName = 'DT_BillReportShow'
    end
    object qryDynDtlDT_BillReportOrder: TIntegerField
      FieldName = 'DT_BillReportOrder'
    end
    object qryDynDtlDT_FilterFix: TBooleanField
      DisplayLabel = #22266#23450#26597#35810
      FieldName = 'DT_FilterFix'
    end
    object qryDynDtlDT_FilterType: TWordField
      DisplayLabel = #26597#35810#31867#22411
      FieldName = 'DT_FilterType'
    end
    object qryDynDtlDT_FilterValue: TStringField
      DisplayLabel = #26597#35810#40664#35748#20540
      FieldName = 'DT_FilterValue'
      Size = 200
    end
  end
  object qryReportDtl: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select  *  from   dbo.ts_reportstyledtl  order by  styleid')
    Left = 680
    Top = 423
    object UniQuery3stylename: TStringField
      FieldName = 'stylename'
      Size = 50
    end
    object UniQuery3issys: TBooleanField
      FieldName = 'issys'
    end
    object UniQuery3styleid: TIntegerField
      FieldName = 'styleid'
    end
    object UniQuery3reportid: TIntegerField
      FieldName = 'reportid'
    end
    object UniQuery3layoutid: TIntegerField
      FieldName = 'layoutid'
    end
  end
  object cdsid: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 384
    Top = 544
    object cdsidid: TIntegerField
      FieldName = 'id'
      OnChange = cdsididChange
    end
    object cdsidid2: TIntegerField
      FieldName = 'id2'
      OnChange = cdsidid2Change
    end
  end
  object dsid: TDataSource
    DataSet = cdsid
    Left = 432
    Top = 544
  end
  object cdsIDList: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 488
    Top = 547
  end
  object cdsID2List: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 648
    Top = 551
  end
  object pmReportView: TPopupMenu
    OnPopup = pmReportViewPopup
    Left = 856
    Top = 359
    object muCopyColumn: TMenuItem
      Caption = #22797#21046#21333#20803#26684#20869#23481#21040#21098#36148#26495
      OnClick = muCopyColumnClick
    end
    object muCopyRecord: TMenuItem
      Caption = #22797#21046#22810#36873#25968#25454#34892#20869#23481#21040#21098#36148#26495
      OnClick = muCopyRecordClick
    end
    object muReportPart1: TMenuItem
      Caption = '-'
    end
    object muHideBillDtl: TMenuItem
      Caption = #38544#34255#21333#25454#26126#32454
      OnClick = muHideBillDtlClick
    end
    object muMergMst: TMenuItem
      Caption = #21512#24182#21333#25454#20307#20449#24687
      OnClick = muMergMstClick
    end
  end
end
